package com.geostar.constructionland.analyse.entity.alyresult;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author yelll
 * @since 2020-6-19 10:36
 **/
@Data
@ApiModel("规划地类、期末地类图斑")
@TableName("jsyd_fx_qmdltb")
public class AlyResultGhdl {
    @ApiModelProperty("分析ID")
    @TableId(value = "fxid",type = IdType.ASSIGN_UUID)
    @JsonProperty("FXID")
    private String fxid;

    @ApiModelProperty("分析标示")
    @TableField(value = "fxbs")
    private String fxbs;

    @JsonAlias("DK_ID")
    @JsonProperty("DK_ID")
    @ApiModelProperty("原地块标示")
    @TableField(value = "ydkbs")
    private String ydkbs;

    @JsonAlias("QMGHFLBM")
    @JsonProperty("QMGHFLBM")
    @ApiModelProperty("期末规划分类编码")
    @TableField(value = "qmghflbm")
    private String qmghflbm;

    @JsonAlias("XZQHDM")
    @JsonProperty("XZQHDM")
    @ApiModelProperty("行政区划代码")
    @TableField(value = "xzqhdm")
    private String xzqhdm;

    @JsonAlias("XZQHMC")
    @JsonProperty("XZQHMC")
    @ApiModelProperty("行政区划名称")
    @TableField(value = "xzqhmc")
    private String xzqhmc;

    @ApiModelProperty("占压面积")
    @TableField(value = "zymj")
    private double zymj;

    @JsonAlias("YZMJ")
    @JsonProperty("YZMJ")
    @ApiModelProperty("地类面积")
    @TableField(value = "dlmj")
    private double dlmj;

    @TableField(exist = false)
    private String yzgeojson;

    @JsonAlias("DK_MJ")
    @JsonProperty("DK_MJ")
    @TableField(exist = false)
    private String dkmj;

    @TableField(value = "yzgeojson")
    private String realYzGeoJson;
}
